package com.gxar.quick.ar.server.base.model.pay.info;

import com.alibaba.fastjson2.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;

/**
 * @author nice
 * @version 1.0
 * @created 2023/11/13.
 */
@Data
@ToString
@ApiModel("微信支付订单金额信息")
public class WechatPayAmountInfo {

    @ApiModelProperty("订单总金额，单位为分")
    private Integer total;

    @ApiModelProperty("用户支付金额，单位为分")
    @JsonProperty("payer_total")
    @JSONField(name = "payer_total")
    private Integer payerTotal;

    @ApiModelProperty("CNY：人民币，境内商户号仅支持人民币")
    private String currency;

    @ApiModelProperty("用户支付币种")
    @JsonProperty("payer_currency")
    @JSONField(name = "payer_currency")
    private String payerCurrency;
}
